inherited FrelatorioInventario: TFrelatorioInventario
  Left = 69
  Top = 94
  Width = 1036
  Height = 645
  Caption = 'ESTOQUE / INVENT'#193'RIO '
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 16
  inherited Panel1: TPanel
    Width = 1028
  end
  inherited Panel2: TPanel
    Width = 1028
    Caption = 'RELAT'#211'RIO INVENT'#193'RIO (SALDO ATUAL)'
  end
  inherited GroupBox1: TGroupBox
    object Label3: TLabel
      Left = 16
      Top = 64
      Width = 102
      Height = 16
      Caption = 'Grupo do Produto'
    end
    object Label53: TLabel
      Left = 16
      Top = 113
      Width = 171
      Height = 16
      Caption = 'Classifica'#231#227'o do Produto (F8)'
    end
    object Label66: TLabel
      Left = 16
      Top = 21
      Width = 91
      Height = 16
      Caption = 'Estoque / Local'
      Font.Charset = ANSI_CHARSET
      Font.Color = clBlack
      Font.Height = -13
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object DBLCBGrupoProduto: TDBLookupComboBox
      Left = 16
      Top = 81
      Width = 281
      Height = 22
      Ctl3D = False
      KeyField = 'GRUP_PROD_CODIGO'
      ListField = 'GRUP_PROD_DESCRICAO'
      ListSource = DSGrupoProduto
      ParentCtl3D = False
      TabOrder = 1
      OnKeyDown = DBLCBGrupoProdutoKeyDown
    end
    object dblClassProduto: TDBLookupComboBox
      Left = 16
      Top = 131
      Width = 281
      Height = 22
      Ctl3D = False
      KeyField = 'ESTRUTURA'
      ListField = 'CLASS_PROD_DESCRICAO'
      ListSource = dsClassProduto
      ParentCtl3D = False
      TabOrder = 2
      OnKeyDown = dblClassProdutoKeyDown
    end
    object GroupBox3: TGroupBox
      Left = 16
      Top = 157
      Width = 185
      Height = 60
      Caption = '  Localiza'#231#227'o  '
      TabOrder = 3
      object Label5: TLabel
        Left = 82
        Top = 26
        Width = 7
        Height = 16
        Caption = 'a'
      end
      object edLocalizacao1: TMaskEdit
        Left = 8
        Top = 26
        Width = 70
        Height = 22
        TabOrder = 0
      end
      object edLocalizacao2: TMaskEdit
        Left = 96
        Top = 26
        Width = 78
        Height = 22
        TabOrder = 1
      end
    end
    object DBLCBLocal: TDBLookupComboBox
      Left = 16
      Top = 37
      Width = 281
      Height = 22
      Ctl3D = False
      KeyField = 'LOC_CODIGO'
      ListField = 'LOC_DESCRICAO'
      ListSource = DSLocal
      ParentCtl3D = False
      TabOrder = 0
      OnKeyDown = DBLCBLocalKeyDown
    end
    object GroupBox4: TGroupBox
      Left = 245
      Top = 222
      Width = 160
      Height = 60
      Caption = ' Mercado na Rede '
      TabOrder = 4
      object cbMRSim: TCheckBox
        Left = 8
        Top = 28
        Width = 57
        Height = 17
        Caption = 'Sim'
        TabOrder = 0
      end
      object cbMRNao: TCheckBox
        Left = 96
        Top = 28
        Width = 49
        Height = 17
        Caption = 'N'#227'o'
        TabOrder = 1
      end
    end
    object GroupBox5: TGroupBox
      Left = 424
      Top = 282
      Width = 129
      Height = 68
      Caption = ' Comp'#245'e KIT '
      TabOrder = 5
      object cbCKSim: TCheckBox
        Left = 8
        Top = 24
        Width = 41
        Height = 17
        Caption = 'Sim'
        TabOrder = 0
      end
      object cbCKNao: TCheckBox
        Left = 72
        Top = 24
        Width = 49
        Height = 17
        Caption = 'N'#227'o'
        TabOrder = 1
      end
    end
    object GroupBox6: TGroupBox
      Left = 16
      Top = 282
      Width = 217
      Height = 68
      Caption = ' Controle Manuten'#231#227'o '
      TabOrder = 6
      object cbComponentes: TCheckBox
        Left = 8
        Top = 24
        Width = 105
        Height = 17
        Caption = 'Componentes'
        TabOrder = 0
      end
      object cbOutros: TCheckBox
        Left = 136
        Top = 24
        Width = 65
        Height = 17
        Caption = 'Outros'
        TabOrder = 1
      end
      object cbPneu: TCheckBox
        Left = 8
        Top = 46
        Width = 57
        Height = 17
        Caption = 'Pneu'
        TabOrder = 2
      end
    end
    object GroupBox7: TGroupBox
      Left = 245
      Top = 282
      Width = 169
      Height = 68
      Caption = ' Perec'#237'vel '
      TabOrder = 7
      object cbPSim: TCheckBox
        Left = 8
        Top = 24
        Width = 49
        Height = 17
        Caption = 'Sim'
        TabOrder = 0
      end
      object cbPNao: TCheckBox
        Left = 88
        Top = 24
        Width = 57
        Height = 17
        Caption = 'N'#227'o'
        TabOrder = 1
      end
    end
    object GroupBox8: TGroupBox
      Left = 208
      Top = 157
      Width = 160
      Height = 60
      Caption = ' Situa'#231#227'o '
      TabOrder = 8
      object CbSitAtivo: TCheckBox
        Left = 8
        Top = 28
        Width = 57
        Height = 17
        Caption = 'Ativos'
        TabOrder = 0
      end
      object CbSitInativo: TCheckBox
        Left = 80
        Top = 28
        Width = 73
        Height = 17
        Caption = 'Inativos'
        TabOrder = 1
      end
    end
    object GroupBox9: TGroupBox
      Left = 16
      Top = 221
      Width = 217
      Height = 60
      Caption = ' Quantidade '
      TabOrder = 9
      object CbComQtd: TCheckBox
        Left = 8
        Top = 28
        Width = 97
        Height = 17
        Caption = 'Com Quant.'
        TabOrder = 0
      end
      object CbSemQtd: TCheckBox
        Left = 112
        Top = 28
        Width = 97
        Height = 17
        Caption = 'Sem Quant.'
        TabOrder = 1
      end
    end
  end
  inherited GroupBox2: TGroupBox
    inherited rbRelatorio: TRadioButton
      TabOrder = 3
    end
    inherited rbExcel: TRadioButton
      TabOrder = 4
    end
    inherited rbPDF: TRadioButton
      TabOrder = 5
    end
    inherited btnExecutar: TBitBtn
      TabOrder = 6
    end
    object RgOrdenar: TRadioGroup
      Left = 8
      Top = 64
      Width = 273
      Height = 79
      Caption = '  Ordenar  '
      Columns = 3
      ItemIndex = 0
      Items.Strings = (
        'C'#243'digo'
        'Descri'#231#227'o'
        'Localiza'#231#227'o'
        'Vr. CMU')
      TabOrder = 1
    end
    object RadioGroup1: TRadioGroup
      Left = 8
      Top = 146
      Width = 273
      Height = 54
      Caption = '  Agrupar  '
      Columns = 3
      ItemIndex = 2
      Items.Strings = (
        'Classific.'
        'Grupo'
        'Nenhum')
      TabOrder = 2
    end
  end
  inherited RLReport: TRLReport
    Left = 152
    Top = 181
    DataSource = DSPesquisa
    Margins.LeftMargin = 5.000000000000000000
    Margins.RightMargin = 5.000000000000000000
    inherited RLBand1: TRLBand
      Left = 19
      Width = 756
    end
    object RLGroup1: TRLGroup
      Left = 19
      Top = 140
      Width = 756
      Height = 77
      object RLBand3: TRLBand
        Left = 0
        Top = 23
        Width = 756
        Height = 16
        BeforePrint = RLBand3BeforePrint
        object RLDBText6: TRLDBText
          Left = 470
          Top = 1
          Width = 46
          Height = 15
          AutoSize = False
          DataField = 'PROD_LOCALIZACAO'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -9
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
        object RLDBText5: TRLDBText
          Left = 521
          Top = 1
          Width = 32
          Height = 15
          Alignment = taCenter
          AutoSize = False
          DataField = 'PROD_UNIDSAIDA'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -9
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
        object RLDBText3: TRLDBText
          Left = 109
          Top = 1
          Width = 355
          Height = 14
          AutoSize = False
          DataField = 'PROD_DESCRICAOENT'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -9
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
        object RLDBText4: TRLDBText
          Left = 31
          Top = 1
          Width = 17
          Height = 15
          AutoSize = False
          DataField = 'PROD_ATIVO'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -9
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
          BeforePrint = RLDBText4BeforePrint
        end
        object RLDBText2: TRLDBText
          Left = -1
          Top = 1
          Width = 29
          Height = 15
          Alignment = taCenter
          AutoSize = False
          DataField = 'PROD_CODIGO'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -9
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
        object RLDBText7: TRLDBText
          Left = 553
          Top = 1
          Width = 68
          Height = 15
          Alignment = taCenter
          AutoSize = False
          DataField = 'QUANTIDADE_EM_ESTOQUE'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -9
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
        object RLDBText8: TRLDBText
          Left = 602
          Top = 1
          Width = 88
          Height = 15
          Alignment = taRightJustify
          AutoSize = False
          DataField = 'CUSTOMEDIOUNIT'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -9
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
        object RLLabel11: TRLLabel
          Left = 710
          Top = 1
          Width = 47
          Height = 12
          Alignment = taRightJustify
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -9
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
        object RLDBText10: TRLDBText
          Left = 51
          Top = 1
          Width = 51
          Height = 15
          Alignment = taCenter
          AutoSize = False
          DataField = 'PROD_REFERENCIA'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -9
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
      end
      object RLBand6: TRLBand
        Left = 0
        Top = 0
        Width = 756
        Height = 23
        BandType = btColumnHeader
        Borders.Sides = sdCustom
        Borders.DrawLeft = False
        Borders.DrawTop = False
        Borders.DrawRight = False
        Borders.DrawBottom = True
        object RLDBText9: TRLDBText
          Left = 0
          Top = 5
          Width = 51
          Height = 12
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -9
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
      end
      object RLBand4: TRLBand
        Left = 0
        Top = 39
        Width = 756
        Height = 30
        BandType = btSummary
        BeforePrint = RLBand4BeforePrint
        object RLLabel16: TRLLabel
          Left = 494
          Top = 2
          Width = 49
          Height = 11
          Caption = 'Sub Total:'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -9
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          ParentFont = False
        end
        object RLLabel17: TRLLabel
          Left = 566
          Top = 2
          Width = 48
          Height = 12
          Alignment = taCenter
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -9
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
        object RLLabel9: TRLLabel
          Left = 632
          Top = 2
          Width = 49
          Height = 11
          Caption = 'Sub Total:'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -9
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          ParentFont = False
        end
        object RLLabel10: TRLLabel
          Left = 711
          Top = 2
          Width = 47
          Height = 12
          Alignment = taRightJustify
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -9
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
      end
    end
    object RLBand5: TRLBand
      Left = 19
      Top = 217
      Width = 756
      Height = 24
      BandType = btSummary
      Borders.Sides = sdCustom
      Borders.DrawLeft = False
      Borders.DrawTop = True
      Borders.DrawRight = False
      Borders.DrawBottom = False
      Borders.FixedTop = True
      BeforePrint = RLBand5BeforePrint
      object RLLabel12: TRLLabel
        Left = 659
        Top = 6
        Width = 28
        Height = 11
        Caption = 'Total:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -9
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel13: TRLLabel
        Left = 711
        Top = 6
        Width = 47
        Height = 12
        Alignment = taRightJustify
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -9
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel14: TRLLabel
        Left = 519
        Top = 6
        Width = 28
        Height = 11
        Caption = 'Total:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -9
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel15: TRLLabel
        Left = 565
        Top = 6
        Width = 48
        Height = 12
        Alignment = taCenter
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -9
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
    end
    object RLBand2: TRLBand
      Left = 19
      Top = 120
      Width = 756
      Height = 20
      BandType = btColumnHeader
      Borders.Sides = sdCustom
      Borders.DrawLeft = False
      Borders.DrawTop = False
      Borders.DrawRight = False
      Borders.DrawBottom = True
      Borders.FixedBottom = True
      object RLLabel1: TRLLabel
        Left = -1
        Top = 2
        Width = 32
        Height = 12
        Caption = 'C'#243'digo'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -9
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel2: TRLLabel
        Left = 31
        Top = 2
        Width = 15
        Height = 12
        Caption = 'A/I'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -9
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel3: TRLLabel
        Left = 110
        Top = 2
        Width = 45
        Height = 12
        Caption = 'Descri'#231#227'o'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -9
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel4: TRLLabel
        Left = 523
        Top = 2
        Width = 25
        Height = 12
        Caption = 'Unid.'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -9
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel5: TRLLabel
        Left = 474
        Top = 2
        Width = 34
        Height = 12
        Caption = 'Localiz.'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -9
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel6: TRLLabel
        Left = 562
        Top = 2
        Width = 50
        Height = 12
        Caption = 'Quantidade'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -9
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel7: TRLLabel
        Left = 622
        Top = 2
        Width = 65
        Height = 12
        Caption = 'Vr Cm Unit'#225'rio'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -9
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel8: TRLLabel
        Left = 703
        Top = 2
        Width = 53
        Height = 12
        Caption = 'Vr Cm Total'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -9
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel18: TRLLabel
        Left = 50
        Top = 2
        Width = 49
        Height = 12
        Caption = 'Refer'#234'ncia'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -9
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
    end
  end
  inherited QPesquisa: TQuery
    SQL.Strings = (
      'SELECT'
      '  PRODUTO.PROD_DESCRICAOENT,'
      '  PRODUTO.PROD_UNIDSAIDA,'
      '  PRODUTO.PROD_GRUPOPRODUTO,'
      '  PRODUTO.PROD_CLASSIFPROD1,'
      '  PRODUTO.PROD_CODIGO,'
      '  PRODUTO.PROD_LOCALIZACAO,'
      '  PRODUTO.PROD_ATIVO,'
      '  SALDOLOCAL.SAL_LOC_PRODUTO,'
      '  SALDOLOCAL.SAL_LOC_LOCAL,'
      '  SALDOLOCAL.SAL_LOC_QUANTIDADEEST AS QUANTIDADE_EM_ESTOQUE,'
      '  PRODUTO.EXCLUIDO,'
      '  PRODUTO.PROD_VALORCOMPRA,'
      
        '  SALDOESTOQUE.SAL_EST_CUSTOMEDIOUNIT * SALDOESTOQUE.SAL_EST_QUA' +
        'NTIDADEEST AS CUSTOMEDIOTOTAL,'
      '  SALDOESTOQUE.SAL_EST_CUSTOMEDIOUNIT AS CUSTOMEDIOUNIT,'
      '  CLASSIFICACAOPRODUTO.CLASS_PROD_DESCRICAO,'
      '  GRUPOPRODUTO.GRUP_PROD_DESCRICAO'
      'FROM'
      '  PRODUTO'
      
        '  INNER JOIN SALDOLOCAL ON (PRODUTO.PROD_CODIGO = SALDOLOCAL.SAL' +
        '_LOC_PRODUTO)'
      
        '  INNER JOIN CLASSIFICACAOPRODUTO ON (PRODUTO.PROD_CLASSIFPROD1 ' +
        '= CLASSIFICACAOPRODUTO.CLASS_PROD_CODIGO)'
      
        '  INNER JOIN GRUPOPRODUTO ON (GRUPOPRODUTO.GRUP_PROD_CODIGO=PROD' +
        'UTO.PROD_GRUPOPRODUTO)'
      
        '  LEFT  JOIN SALDOESTOQUE ON (PRODUTO.PROD_CODIGO = SALDOESTOQUE' +
        '.SAL_EST_PRODUTO)')
    Left = 480
    Top = 73
  end
  inherited DSPesquisa: TDataSource
    Left = 480
    Top = 126
  end
  object DSLocal: TDataSource
    DataSet = DMGestao.QLocal
    Left = 392
    Top = 88
  end
  object DSGrupoProduto: TDataSource
    DataSet = DMGestao.QGrupProduto
    Left = 392
    Top = 136
  end
  object dsClassProduto: TDataSource
    DataSet = DMGestao.QClassProduto
    Left = 472
    Top = 208
  end
end
